package com.ygqh.baby.model;

import com.ygqh.baby.ao.PayType;
import com.ygqh.baby.ao.ReturnReasonType;
import com.ygqh.baby.ao.ReturnStatus;
import com.ygqh.baby.ao.ReturnType;
import com.ygqh.baby.po.YgLogistics;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class YgReturnOrderInfoModel {

	private Long id;

	private String returnCode;

	private Long userId;

	private Long orderId;

	private ReturnType returnType;

	private BigDecimal returnPrice;

	private BigDecimal productPrice;

	private BigDecimal accountPrice;

	private ReturnStatus returnStatus;

	private String lastProgress;

	private Date lastProgressTime;

	private String returnReason;

	private String returnImgPath;

	private String userExpressCompany;

	private String userExpressCode;

	private String remark;
	private String receiver;
	private String provinceName;
	private String cityName;
	private String areaName;
	private String address;
	private String telPhone;

	private Date createTime;

	private ReturnReasonType returnReasonType;

	private List<YgReturnOrderDetialModel> sourceDetailList;

	private List<YgReturnOrderDetialModel> detailList;

	private List<YgLogistics> logisticsList;
	
	private BigDecimal refundAccountPrice;
	private BigDecimal refundPrice;
	private BigDecimal totalPrice;
	private PayType payType;
	private Date updateTime;
	private String updateBy;
	private String orderPayCode;
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getLastProgressTime() {
		return lastProgressTime;
	}

	public void setLastProgressTime(Date lastProgressTime) {
		this.lastProgressTime = lastProgressTime;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelPhone() {
		return telPhone;
	}

	public void setTelPhone(String telPhone) {
		this.telPhone = telPhone;
	}

	public String getLastProgress() {
		return lastProgress;
	}

	public void setLastProgress(String lastProgress) {
		this.lastProgress = lastProgress;
	}

	public List<YgReturnOrderDetialModel> getSourceDetailList() {
		return sourceDetailList;
	}

	public void setSourceDetailList(List<YgReturnOrderDetialModel> sourceDetailList) {
		this.sourceDetailList = sourceDetailList;
	}

	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public ReturnType getReturnType() {
		return returnType;
	}

	public void setReturnType(ReturnType returnType) {
		this.returnType = returnType;
	}

	public BigDecimal getReturnPrice() {
		return returnPrice;
	}

	public void setReturnPrice(BigDecimal returnPrice) {
		this.returnPrice = returnPrice;
	}

	public BigDecimal getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(BigDecimal productPrice) {
		this.productPrice = productPrice;
	}

	public BigDecimal getAccountPrice() {
		return accountPrice;
	}

	public void setAccountPrice(BigDecimal accountPrice) {
		this.accountPrice = accountPrice;
	}

	public ReturnStatus getReturnStatus() {
		return returnStatus;
	}

	public void setReturnStatus(ReturnStatus returnStatus) {
		this.returnStatus = returnStatus;
	}

	public String getReturnReason() {
		return returnReason;
	}

	public void setReturnReason(String returnReason) {
		this.returnReason = returnReason;
	}

	public String getReturnImgPath() {
		return returnImgPath;
	}

	public void setReturnImgPath(String returnImgPath) {
		this.returnImgPath = returnImgPath;
	}

	public String getUserExpressCompany() {
		return userExpressCompany;
	}

	public void setUserExpressCompany(String userExpressCompany) {
		this.userExpressCompany = userExpressCompany;
	}

	public String getUserExpressCode() {
		return userExpressCode;
	}

	public void setUserExpressCode(String userExpressCode) {
		this.userExpressCode = userExpressCode;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public List<YgReturnOrderDetialModel> getDetailList() {
		return detailList;
	}

	public void setDetailList(List<YgReturnOrderDetialModel> detailList) {
		this.detailList = detailList;
	}

	public List<YgLogistics> getLogisticsList() {
		return logisticsList;
	}

	public void setLogisticsList(List<YgLogistics> logisticsList) {
		this.logisticsList = logisticsList;
	}

	public BigDecimal getRefundAccountPrice() {
		return refundAccountPrice;
	}

	public void setRefundAccountPrice(BigDecimal refundAccountPrice) {
		this.refundAccountPrice = refundAccountPrice;
	}

	public BigDecimal getRefundPrice() {
		return refundPrice;
	}

	public void setRefundPrice(BigDecimal refundPrice) {
		this.refundPrice = refundPrice;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public PayType getPayType() {
		return payType;
	}

	public void setPayType(PayType payType) {
		this.payType = payType;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getOrderPayCode() {
		return orderPayCode;
	}

	public void setOrderPayCode(String orderPayCode) {
		this.orderPayCode = orderPayCode;
	}

	public ReturnReasonType getReturnReasonType() {
		return returnReasonType;
	}

	public void setReturnReasonType(ReturnReasonType returnReasonType) {
		this.returnReasonType = returnReasonType;
	}

	public String getReturnReasonTypeDesc() {
		return returnReasonType == null ? null : returnReasonType.getTitle();
	}
}
